package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.HisContractpayDao;
import io.renren.entity.HisContractpayEntity;
import io.renren.service.HisContractpayService;



@Service("hisContractpayService")
public class HisContractpayServiceImpl implements HisContractpayService {
	@Autowired
	private HisContractpayDao hisContractpayDao;
	
	@Override
	public HisContractpayEntity queryObject(String id){
		return hisContractpayDao.queryObject(id);
	}
	
	@Override
	public List<HisContractpayEntity> queryList(Map<String, Object> map){
		return hisContractpayDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return hisContractpayDao.queryTotal(map);
	}
	
	@Override
	public void save(HisContractpayEntity hisContractpay){
		hisContractpayDao.save(hisContractpay);
	}
	
	@Override
	public void update(HisContractpayEntity hisContractpay){
		hisContractpayDao.update(hisContractpay);
	}
	
	@Override
	public void delete(String id){
		hisContractpayDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		hisContractpayDao.deleteBatch(ids);
	}
	
}
